POV-Ray : Newsgroups : povray.general : Cylindrical HF : Cylindrical HF Server Time
2 Aug 2024 18:15:06 EDT (-0400)
  Cylindrical HF  
From: Gena
Date: 12 Aug 2004 23:56:54
Message: <411c3c06$1@news.povray.org>
I need a cylindrical heightfield from my bitmap.
The following code doesn't work:

#include "shapes.inc"

#declare F = function {
    pigment {
       image_map {
       	png "foo.png"
         map_type 0
       }
    }
}

object {
    HF_Cylinder (F, off, off,
<60,60>, on, "", <0.5, 0.0, 0.5>, <0.5, 1.0, 0.5>, 0.4, 0.3)
    texture {
       pigment {color rgb 1}
    }
}

How can I make it work? Is there any other macro(s)
making cylindrical heightfield or cylindrical mesh
from bitmap?

Gena.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.